package com.dd.ms.consumer;

import com.dd.ms.consumer.service.internal.ConsumerServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/3/12 19:10
 * @Description 服务消费方
 */
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {"com.dd.ms.consumer"})
@EnableFeignClients(basePackages = "com.dd.ms.provider.api")
public class Consumer {
    public static void main(String[] args) {
        SpringApplication.run(Consumer.class, args);
    }
}
